package info.jimao.newsdk.models;

import java.io.Serializable;

/**
 * 分页类
 */
public class Pager implements Serializable {
    private static final long serialVersionUID = 4734835406371774533L;

    public int PageIndex;
    public int PageSize;
    public int Total;       //总计
    public int PageTotal;   //总计页数
    public boolean HasPreviousPage;
    public boolean HasNextPage;

    public Pager() {
        super();
    }

    public Pager(int pageIndex, int pageSize, int total, int pageTotal, boolean hasPreviousPage, boolean hasNextPage) {
        super();
        PageIndex = pageIndex;
        PageSize = pageSize;
        Total = total;
        PageTotal = pageTotal;
        HasPreviousPage = hasPreviousPage;
        HasNextPage = hasNextPage;
    }

}
